package com.xiaoyu.cloud.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zgb
 * @desc ...
 * @date 2021-05-24 14:09:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "pool")
public class PoolProperties {
    private Integer connectMinTimes;
    private Integer connectMaxTimes;
    private Integer connectTimeout;
    private Integer handleTimeout;

}
